package phonecompany.account;

import phonecompany.customer.Customer;
import phonecompany.phone.PhoneNumber;

/**
 * @since Oct 24, 2011
 * @author <a href="mailto:zexpp5@gmail.com">Zexu.Lin</a>
 * @version $Id: PayAsYouGoAccount.java 22 2011-10-24 10:52:28Z zexpp5@gmail.com
 *          $
 * 
 */
public final class PayAsYouGoAccount extends PhoneAccount {
	private final int tariff = 20; // 20p per minute

	public PayAsYouGoAccount(Customer holder, PhoneNumber phoneNumber) {
		super(holder, phoneNumber);
	}

	/**
	 * 
	 * (non-Javadoc)
	 * 
	 * @see phonecompany.account.PhoneAccount#getTariff()
	 */
	@Override
	public int getTariff() {
		return tariff;
	}

}
